package main

func main() {
	cmd := parseCmd()

	if cmd.versionFlag {
		println("java version: \"9.0.1\"\nJava(TM) SE Runtime Environment (build 9.0.1+14)")
	} else if cmd.helpFlag || cmd.class == "" {
		printUsage()
	} else {
		newJVM(cmd).start()
	}
}
